package com.example.demo_dongruanD.repository;

import com.example.demo_dongruanD.pojo.Hospital;
import com.example.demo_dongruanD.pojo.Orders;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface HospitalRepository extends JpaRepository<Hospital, Integer> {
    List<Hospital> findByHpIdIn(List<Integer> hpIds);

}
